<div style="text-align:center;float:left;padding-left:10px;">


        <table style="width:758px;" cellpadding="0" cellspacing="0">
            <tr style="background:#dde3e6;height:30px;">
                <td align="left" style="v-align:middle;padding-left:10px;color:#e2001a;font-weight:bold;" colspan="3">
                    PREPAY TRANSACTION
                </td>
            </tr>
            <tr style="height:30px;">
                <td style="text-align:right;width:50%;color:#6C6C6C;font-weight:bold;padding-right:10px;">Saldo de Cr&eacute;dito:</td>
                <td style="padding-left:10px;text-align:left;width:15%;background:#F7F8FA;color:4c9a00;">
                    <p class="amount2" style="color:#4c9a00;" id="credit_account">$&nbsp;<?php echo number_format($this->creditAccount,0, ',', '.');?></p>
                </td>
                <td style="width:35%"></td>
            </tr>
            <tr style="height:1px;">
                <td colspan="3" style="border-bottom:1px dotted gray;"></td>
            </tr>
            <tr style="height:30px;">
                <td style="text-align:right;width:50%;color:#6C6C6C;font-weight:bold;padding-right:10px;">Total a pagar:</td>
                <td style="padding-left:10px;text-align:left;width:15%;background:#F7F8FA">
                    <p class="amount2" id="total">$&nbsp;<?php echo number_format($this->totalAmount,0, ',', '.');?></p>
                </td>
                <td style="width:35%"></td>
            </tr>
            <tr style="height:1px;">
                <td colspan="3" style="border-bottom:1px dotted gray;"></td>
            </tr>
            <tr id="divisorCredit" style="height:1px;">
                <td colspan="3" style="border-bottom:1px dotted gray;"></td>
            </tr>
            <tr style="height:30px;">
                <td colspan="3">
                <div id="totalDescont">
                <table height="100%" width="100%" cellpadding="0" cellspacing="0">
                   <tr height="30px;">
                   <td style="text-align:right;width:50%;color:#6C6C6C;font-weight:bold;padding-right:10px;">Debe:</td>
                   <td style="padding-left:10px;text-align:left;width:15%;background:#FFDBD5;color:#e2001a;">
                        <?php if( $this->totalAmount-$this->creditAccount < 0)
                              {?>
                                 <p class="amount3">$&nbsp;0
                                 </p>
                        <?php } else { ?>
                                 <p class="amount3">$&nbsp;<?php echo number_format(($this->totalAmount-$this->creditAccount),0, ',', '.');?>
                                 </p>
                        <?php } ?>
                   </td>
                   <td style="width:35%"></td>
                </table>
                </div>
                </td>
            </tr>
            <tr style="height:1px;">
                <td colspan="3" style="border-bottom:1px dotted gray;"></td>
            </tr>
        </table>

</div>

<div class="cpanel" style="float:left;padding-left:10px">

        <table style="background:#f7f8fa;width:758px;">
            <tr class="line_panel_footer" height="30px;">
                <td style="text-align:right;width:50%;color:#724A40;font-weight:bold;padding-right:0px;">C&oacute;digo de prepago</td>
                <td style="text-align:left;width:7%;">
					<?=$this->prepayForm?>
                </td>
                <td style="width:43%;padding-left:10px;text-align:left;">
                </td>
            </tr>
            <tr class="line_panel_footer">
				<td colspan="3" style="color:red;font-weight:bold;">
					<?=$this->msg;?>
				</td>
            </tr>
        </table>

</div>

<div style="text-align:center;float:left;padding-left:10px;">


        <table style="width:758px;" cellpadding="0" cellspacing="0">
            <tr style="background:#dde3e6;height:30px;">
                <td align="left" style="v-align:middle;padding-left:10px;padding-top:5px;color:#FFF;font-weight:bold;" colspan="3">
					<img src="/imgs/volver.gif" alt="Volver" onClick="back();" class="clickable"/>
                </td>
            </tr>
		</table>

</div>
<script>
</script>

